From 45797af85bdd7e780c391b02023645ccb815c6c5 Mon Sep 17 00:00:00 2001 From: MON KEY Date: Sun, 1 Aug 2010 02:24:55 +0200 Subject: [PATCH] * lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring. --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/syntax.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b92e55fca7..2e72f368767 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-08-01 MON KEY (tiny change) + + * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): + Fix typo in docstring (bug#6747). + 2010-07-30 Leo * eshell/esh-io.el (eshell-get-target): Better detection of diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index a3110f8d8c5..5cc89596ef5 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -52,7 +52,7 @@ (defun syntax-ppss-toplevel-pos (ppss) "Get the latest syntactically outermost position found in a syntactic scan. -PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'. +PPSS is a scan state, as returned by `parse-partial-sexp' or `syntax-ppss'. An \"outermost position\" means one that it is outside of any syntactic entity: outside of any parentheses, comments, or strings encountered in the scan. If no such position is recorded in PPSS (because the end of the scan was -- 2.30.2